TransWikia.com
  1. All Categories
  2. Computational Science

Computational Science : Recent Questions and Answers (Page 19)

Find answers to your questions about Computational Science or help others by answering their Computational Science questions.

preconditioner for $u''(x)=sin(x)$

I am interested in finding preconditioner to solve the problem for one dimensional problem $u''(x)=sin(x), u(0)=u(1)=0$ using Dirichlet-Neumann method. The preconditioner $M$ coming from Dirichlet-Neumann method is ...

Asked on 06/12/2021 by 420

1 answer

Understanding why scipy.fft.fft (fast Fourier transform) doesn't work as expected

I write the following fast Fourier transform code into my Python notebook expecting to see a plot wherein there's a spike at $1/2pi$ since that's the frequency of the...

Asked on 06/10/2021 by user37540

1 answer

Global stiffness matrix from element stiffness matrices for a thin rectangular plate (Kirchhoff plate)

I have the element stiffness matrix for a thin "kirchhoff" plate. The plate is 3 [m] x 5 [m] and is simply supported on all edges. It's thickness is 0,2...

Asked on 06/09/2021 by Ahmed Hossam

1 answer

Shall I use global, heap allocated array or local, stack allocated one if references to its elements are made too many times?

I actually have this data locality as a possible problem for why my fortran program runs somewhat slow. In one part of this program, I have nested loops and throughout...

Asked on 06/08/2021 by nougako

1 answer

Integration of a discretized field in a cylindrical coordinate system

I would like to integrate a discretized field in cylindrical coordinates, given as A(r, z), with z being spaced regularly (spacing distance dz), and r being spaced non-regularly. Moreover, r[0]>0...

Asked on 06/07/2021

0 answer

CVXOPT intermediate step valuation stepping out of function domain of defintion

I am using CVXOPT, particularly to solve a nonlinear convex optimization problem. Either the objective function or the constraints involve some functions that are only defined in a strict subset...

Asked on 06/07/2021

0 answer

Uses for Automatic Differentiation in Investment Banking

I've finally wrapped my head around the advantages and disadvantages of AD/AAD compared to FD and SD, but could someone please explain to me where you'd use AD/AAD in an...

Asked on 06/06/2021 by 12Quant34

0 answer

offline Bin Packing problem with multiple size bins

As per my research on stack overflow communities, This is probably known as cutting stock problem / multiple Knapsack problem (a variant of the bin packing problem) which is NP...

Asked on 06/04/2021 by mhk

0 answer

Why is quadratic penalty method used for equaltiy-constrained optimization?

When one equality-constrained optimization is formulated, the method of Lagrange multiplier will be the choice for me. In Chapter 17 from the book Numerical Optimization, quadratic penalty method can be...

Asked on 05/31/2021

1 answer

Which library to use in C++ for fast DCT's?

I need to apply a 1D type-II DCT (Discrete Cosine Transform) to each column of a matrix while normalizing the result in C++. Effectively, I want to...

Asked on 05/30/2021

0 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP