instruction stringlengths 43 28.1k |
|---|
Has anybody stumbled upon any kind of application of high-frequency high-dimensional problems ($d\geq 4$)?
My interest comes from the following: there is quite a decent amount of papers where people consider efficient representation of discretized integral operators in $d$ dimensions that allows to avoid a curse of di... |
I learned that for BiCGStab solver for sparse linear systems it's pretty much always necessary to use a preconditioner. I realized by now that choosing a good one is problem dependent.
Surfing the web I found out there are many ILU based preconditioners (ILUT, MILU,etc.) This is where I got confused.
I was wondering i... |
Does compiling PETSc with an external BLAS/LAPACK library significantly affect performance on sparse matrices, or does it only use those libraries for dense matrix math?
|
When indexing PETSc.Mat A with an array c ( numpy.ndarray with dtype('int64')), I run into the following error:
File "/Users/cls/workspace/LAMG-Python/src/lamg/amg/setup.py", line 945, in buildInternal
Acc = A[c, c]
File "Mat.pyx", line 185, in petsc4py.PETSc.Mat.__getitem__ (src/petsc4py.PETSc.c:71407)
File ... |
The other day, my computational fluid dynamics instructor was absent and he sent in his PhD candidate to substitute for him. In the lecture he gave, he seemed to indicate several disadvantages associated with various discretization schemes for fluid flow simulations:
Finite Difference Method: It is difficult to sat... |
Suppose I had the following periodic 1D advection problem:
$\frac{\partial u}{\partial t} + c\frac{\partial u}{\partial x} = 0$ in $\Omega=[0,1]$
$u(0,t)=u(1,t)$
$u(x,0)=g(x)$
where $g(x)$ has a jump discontinuity at $x^*\in (0,1)$.
It is my understanding that for linear finite difference schemes of higher than fir... |
Suppose I had a stochastic partial differential equation of the form:
$\nabla^2U=F(x,D)$, where $x\in\Omega\equiv [0,1]$
and $F(x,D)$ is a function which depends on position $x$ and a uniform random coefficient D.
An approximate the stochastic solution can be easily obtained by monte-carlo simulations. That is, I ca... |
I'm diving into the fascinating world of finite element analysis and would like to solve a large thermo-mechanical problem (only thermal $\rightarrow$ mechanical, no feedback).
For the mechanical problem, I already grasped from Geoff's answer, that I'll need to use iterative solver due to the size of my mesh. I furthe... |
Modification
Is a continuous adjoint approach a reliable/promising method for optimizing the shape of an airfoil under conditions of unsteady turbulence flow?
Original Question
I saw lots of people is doing shape optimization of airfoil using optimization theory.
But my feeling is that its effectiveness is very limited... |
Different numerical linear algebra and numerical optimization methods have different size regimes where they're a 'good idea', in addition to their own properties. For example, for very large optimization problems, gradient, stochastic gradient and coordinate descent methods are used instead of Newton or Interior Point... |
What is the largest problem (in DOF) that has been solved till date using a fully unstructured mesh. I know about PFLOTRAN but I am not sure if it is the largest. If someone can point to relevant papers then that would be great.
Actually I need some pointers on creating and reading in large meshes on 4K plus cores. PFL... |
I am looking for algorithms to draw standard 2d-graphs for functions that may or may not have singularities. The purpose is to write a "Mini-CAS", so I have no a priori knowledge of the types of functions, the users want to graph.
This problem is very old, so I imagine there must be some standard algorithms in the lit... |
Is there any reference (preferably available online as PDF, Free would be best) which summarizes the various matrix decomposition with their conditions for use, usage, algorithm, complexity and underlying math? Of course, a single resource might not have all of them but more the merrier.
I would love something which co... |
For identification of macromolecular complexes in cryoelectron tomo-
grams covering cytoplasmic regions, we used a combination of
subtomogram averaging and classification. In a first step, the cross
correlation function between two times binned tomograms and a 25 nm
spherical template was computed. From th... |
A parallel reduction assumes that the corresponding operation is associative. This assumption is violated for addition of floating point numbers. You might ask why I care about this. Well, it makes results less reproducible. And it gets worse when simulated annealing is used to optimize (or fit parameters) over subrout... |
The context is I have a big matrix, 20K * 50K, and I want reduce the dimensionality. In R, it's impossible to apply PCA with more variables(columns) than observations(rows). Therefore, I am trying a partial SVD with this matrix, for instance, I calculate the top 100 left and right singular vectors. But with these singu... |
I'm trying to optimize a flow distributor in a tank such that the velocity and temperature distribution across any cross-section is relatively uniform. There are many parameters I can adjust to the maximum cross-sectional uniformity, such as the number of inlet pipes, their position, orientation, and direction. I kno... |
Take $n$ points ${\bf r} =\{ r_1 = (x_1,y_1,z_1), r_2=(x_2,y_2,z_2) \ldots r_n=(x_n,y_n,z_n) \}$ enclosed in a periodic box of length $L$, such that that the point $(0,0,0)=(L,0,0)$, $(0,0,0)=(L,L,L)$, etc... The difference between two points is the minimum distance of the first point and any of the images of the secon... |
I am interested in solving a sequence of shifted linear systems $(A+\sigma I)x = b$ for various values of $\sigma$. The matrix $A$ is sparse and not too large, so I have its LU factorization available. What is the best way to do this?
This is for calculating a frequency spectrum; $\sigma$ is roughly the frequency so it... |
As motivation, consider a function which is smooth and continuous but for some reason it is very expensive to perform routine calculations of finding the Laplacian on it (maybe because it is over a large domain, etc.).
Given an original function, say, in one dimension, is it possible to estimate (or slightly overestima... |
Suppose I have the original large, sparse linear system: $A\textbf{x}_0=\textbf{b}_0$. Now, I do not have $A^{-1}$ as A is too large to factor or any sort of decomposition of $A$, but assume that I have the solution $\textbf{x}_0$ found with an iterative solve.
Now, I wish to apply a small rank update to the diagonal o... |
I am considering minpack software package to solve my optimization problem ( this is the kind of question that I am facing), but I don't quite know what is the memory requirement and the speed of this package.
Any idea?
|
For non linear system of hyperbolic PDE, The finite volume methods work well (because of inherent conservation). Godunov scheme is a very elegant solution philosophy. For linear system, it is nothing but upwinding, but for nonlinear system, there are entropy issues.
Also the Riemann solution at the local Riemann proble... |
As an assignment in college, I did a 1d simulation.
The problem statement was to solve 1d shock tube problem involving compressible ideal gas as working fluid.
For this problem, I solved system of Eulers equations using Roe's Riemann solver.
I want to know,
to solve the Euler's equations in 2 or 3 dimensions, where sh... |
I want to solve the Lane-Emden isothermal equation [PDF, eq. 15.2.9]
$$\frac{d^2 \!\psi}{d \xi^2} + \frac{2}{\xi} \frac{d \psi}{d \xi} = e^{-\psi}$$
with the initial conditions
$$\psi(\xi = 0) = 0 \quad \left.\frac{d\psi}{d \xi}\right|_{\xi = 0} = 0$$
using SciPy odeint() but, as it can be seen, the equation is singula... |
I'm working on an algorithm for which I would like to cover an $n$-dimensional unit cube by a set of $n$-cuboids (i.e., $n$-dimensional rectangles). The size and orientation of these cuboids is determined solely by the position of their centrepoint -- so given a point in the cube, one has a set of coordinate axies bas... |
In some hyperbolic PDEs the flux is nonconvex.
One example is equations in magnetohydrodynamics. What are the complications in the wave structures of such problems? What general precautions one should take while coding such a system? Which numerical schemes work well for such systems?
|
I have started using python as the programming language for doing all my assignments in CFD. I have a very little experience in programming. I am from mechanical engineering background and am pursuing higher education in Aerospace engineering.
sometimes the computing aspect of CFD becomes more tedious than manipulating... |
I am new to the field of CFD. When should one go for structured grid and when should one go for unstructured?
(Yes, it depends a lot on the geometry of the problem)
More specifically, I want to know the difference in the computational power required, accuracy achieved and efforts involved in both types of grid.
What ar... |
I have solved 1d shock tube problem. (Euler's equations). Using following steps:
1) Define Riemann problem over the domain
2) Carry out local linearisation
3) Based on linearisation, write eigen values and eigenvectors
4) Use upwinding, i.e. find out numerical flux and use update equation
When I implemented above s... |
I am implementing a machine learning algorithm for which I need to solve an integer linear program. To get the solution in polynomial time, the authors of the algorithm have dropped the integral constraints and instead solve the corresponding linear program.
I am not too aware of the theory of optimization, so using th... |
I asked for clarification about a recent question about minpack, and got the following comment:
Any system of equations is equivalent to an optimization problem, which is why Newton-based methods in optimization look a lot like Newton-based methods for solving systems of nonlinear equations.
What confuses me about th... |
I am studying $SU(2)$ lattice field theory, and I am attempting to use migdal recursion for renormalization.
The main equation for Migdal recursion for my case is
$$e^{-S_p(U,\lambda a)}=\left[ \sum_r F_r(a)^{\lambda^2}d_r \chi_r (U) \right]^{\lambda^{d-2}}$$
with $d_r$ as the dimension of the representation and $\chi... |
Pretty much the question. Given a general sparse, non-symmetric (both numerically and structurally) matrix, how important is the sparsity pattern (i.e. row/column permutation of matrix/vector) for iterative solvers? I can see it becomes important for direct solvers (LU) or preconditioners (ILU) by directly affecting th... |
The library itself compiles just fine with icc, but when I try to link to it (using icc for both the driver code and the linker), I get the same error that this question on stackoverflow is asking about.
I've heard that gsl is very specific to the gnu compiler. Can gsl be compiled and linked to with icc? What about oth... |
Are there any algorithms for community detection for bipartite graphs (2-mode networks) implemented in igraph, networkX, R or Python etc.? In particular, is there such an implementation in which one would be able to restrict the detection of communities just on one of the two modes?
|
I am faced with the problem of finding the ellipsoid $B$ ($B$ is a symmetric positive definite matrix) of maximal volume within a convex set $C$ given as a set of linear inequalities $C=\{x| a_i^T x \leq b_i, i=1,\dots,m\}$.
I understood how it is formalized as a convex optimization problem
$$
\min_{B,d}\quad[\log\det... |
Edit: I was advised to replace the question with a more specific one.
Coming from a very theoretical background, I'm pretty ignorant about what practical matrix solvers exist. (I have been, and will continue to scour the web for information, but I figured I would get direct and concise answers here as well.)
Currently... |
At the moment I am working on a differential equation solving method called basis-spline collocation. What I am having trouble with is building a method to build an arbitrary order spline, with the relationship
$$
B^{k+1}_{i}(x)= \frac{x-x_i}{x_{k+i}-x_i}B^k_i + \frac{x_{k+i+1}-x}{x_{k+i+1}-x_{i+1}}B^k_{i+1}(x)
$$
wi... |
Single precision floating point numbers take up half the memory and on modern machines (even on GPUs it seems) operations can be done with them at almost twice the speed compared to double precision. Many FDTD codes that I have found exclusively use single precision arithmetic and storage. Is there a rule of thumb of w... |
I am interested in setting up calculations to check if a distance criterion is satisfied: that is, the distance between a vector ${\bf x}_i$ and anther vector ${\bf x}_j$ should be less than some value $r_{\rm max}$. My data is partitioned according to an orthogonal grid of coordinates. Since my cutoff is smaller than ... |
Related question: State of the Mac OS in Scientific Computing and HPC
A significant number of software packages in computational science are written in Fortran, and Fortran isn't going away. A Fortran compiler is also required to build other software packages (one notable example being SciPy).
However, Mac OS X does no... |
I am fitting a curve to some instrument data. The data is a pulse with a particular functional form, which starts from and returns to a constant (with noise) baseline level before and after the pulse.
I find that if I fit the whole dataset, I get one set of fitted parameters for the pulse, but if I crop out the part of... |
A very basic question but i couldn't find another post about it:
Given $p$ non parallel hyper-plane in $\mathbb{R}^p$:
$\left(\begin{array}{cccc}
c_{11} & a_{11} & .... & a_{1p} \\
... & ... & ... & .... \\
c_{p1} & a_{p1} & .... & a_{pp} \end{array} \right)$
$||a_{i.}||=1$
What is the best (from a numerical standpoi... |
Why does DMDA objects require so much memory on PETSc 3.2-p7.
When running the code:
...
N = 8000;
ierr = DMDACreate2d(PETSC_COMM_WORLD, DMDA_BOUNDARY_PERIODIC, DMDA_BOUNDARY_PERIODIC,
DMDA_STENCIL_STAR, N, N, size, PETSC_DECIDE, PETSC_DECIDE,
0, PETSC_NULL, PETSC_NULL, &da);
//ierr =... |
I want to develop a parallel scientific computation software from scratch. I want some thoughts on which language to start. The program involves reading/writing data to txt files and doing heavy computations in parallel, with many LU factorizations and the use of sparse linear solvers. The candidate solutions I was thi... |
If we want to solve nonlinear minimization problem
$$\min_{x} f(x),$$
making least-squares assumption and using Gauss-Newton method so that at k$th$ iteration we have:
$$J_k^T J_k p_k = - J_k^T r_k,$$
with vector $r$ being residual and matrix $J$ Jacobian.
We then update $x$ in the following way:
$$x_{k+1} = x_k + \al... |
Background: I think I might want to port some code that calculates matrix exponential-vector products using a Krylov subspace method from MATLAB to Python. (Specifically, Jitse Niesen's expmvp function, which uses an algorithm described in this paper.) However, I know that unless I make heavy use of functions from modu... |
I am looking at the finite difference methods to solve simple $u_t=a(x,t)u_{xx}$.
There are explicit, implicit, Crank Nicolson.
The latter is said to be more accurate since the local truncation error is of second order provided all expansions are done around point $t^{n+0.5}$. However, local truncation error basicall... |
Possible Duplicate:
Is there a general-purpose library for structured grid adaptive mesh refinement?
I'm looking for a quality, open source, maintained, scalable automated mesh refinement library to integrate with a FEM library. It would be best if it could do both simplices and quads/hexes. I have a list of abou... |
I would like to predict runtimes for dense linear algebra operations on a specific architecture using a specific library. I would like to learn a model that approximates the function
$F_{op} \;::\; $input sizes$ \rightarrow $runtime
for operations like matrix-multiply, element-wise add, triangular solve, etc....
I susp... |
In a finite difference (FD) based electromagnetic formulation based on a Yee cell grid, one can define electric current source excitations ($J$) on the $E$ field grid points. At a distance, the fields generated from these excitations (in free-space) closely match with those of an analytical Hertzian dipole (which is in... |
I am looking for a description of algorithm which allows me to detect key turning points on the road amongs a set of all given points.
I've ilustrated my problem on the below image:
Green spots: those are the starting and ending point of a route.
Blue spots: those are the key points which should be detected by the alg... |
I have formulated an integer linear program (ILP). The constraint matrix for the ILP is totally unimodular.
Should I solve it as an LP without the integral constraints, or should I keep the integral constraints and let the optimization-toolbox's (MOSEK) mixed integer solver handle this special case?
|
Given a dense matrix $$A \in R^{m \times n}, m >> n; max(m) \approx 100000 $$ what is the best way to find its null-space basis within some tolerance $\epsilon$?
Based on that basis can I then say that certain cols are linearly dependent within $\epsilon$? In other words, having null space basis computed, what columns... |
This question is aimed at cleaning up an implementation detail of an in-house sparse direct solver. It uses METIS to reorder $A$ into $PAP^{T}$ for reduced fill-in. Inside the $Lx=b$ and $L^{T}x=b$ backsolution routines, the solver needs to apply the same permutation matrix to $b$ upon entry, then undo the permutation ... |
I'm having some troubles implementing a collocation method to solve a stochastic partial differential equation of the form:
$\nabla (a(x,w)\nabla u(x,w))=f(x,w)$ in $D$,
$u=g$ in $\partial D$
where $w$ is a vector of uniformly distributed random variables and a(x,w) is a randomly distributed coefficient.
I have read a ... |
As exemplified by Jed Brown's answer to Costs of lookups versus calculations, using vectorized vs non-vectorized floating point operations results in much faster code. Many modern compilers claim that they can perform automatic vectorization. How do I which parts of my code are being successfully vectorized?
|
I have a mesh produced from scanning a real 3D object (I don't have a geometry). What is the most convenient way to specify inlets, outlets, etc. for CFD in OpenFOAM? The mesh consists of thousands of faces, so defining each of them manually is not feasible.
Further information if that helps:
The scanner produced a VR... |
In one of my papers, I list some numerical results in addition to some figures. What I'd like to do is make sure that the numerical results in my paper always agree with the code. Right now, I just directly copy the numerical results from my simulation output into the paper, which is extremely simple and low-tech, but ... |
Somewhat related, but I think the question is distinct enough to justify a separate question.
As a bit of background, I come from a observational/statistical Epidemiology background, working with data that's been collected already, so even our large datasets tend to be in discrete, inseparable chunks. As such, I've nev... |
I need to calculate the following integral:
$$
{1\over 2\pi i} \int_C f(E) \, d E
$$
$$
f(E) = {\rm Tr}\,\left(({\bf h} + E)\,{\bf G}(E) \right)
$$
Where $\bf h$ is a matrix (one particle kinetic and potential energy expressed in a basis), $\bf G$ is a matrix which depends on $E$ (one-particle many-body Green's functio... |
I am new to linear programming and have formulated a linear program (LP) with order of $10^{13}$ variables and $10^{13}$ constraints, although the constraint matrix is extremely sparse.
I wanted to know if an LP of this scale is tractable or not?
|
I generated a cartesian grid in Python using NumPy's linspace and meshgrid, and I obtained some data over this 2D grid from an unknown function. I want to get an approximation of the value of the function over some points inside the boundaries of the grid which are not part of it. I do not have some other unstructured ... |
Is there any type of function that when graphed would show a curve which intersects the x axis multiple times, with each point being an arbitrary distance from the last?
I mean, not like a trig function where each intersect is the same distance from the last. (2,0); (4,0); (6,0); (8,0).
And not like a spiral where the... |
I am relatively new to integral equations for solving time-harmonic EM scattering problems. I have read a decent number of papers on the subject, and it seems that for formulations that can support 3D closed-volume dielectric scatterers that people use EFIE (Electric-Field Integral Equations), MFIE (Magnetic Field Inte... |
I have a large number of systems of the form:
$Ax=b_i$
To solve for a large numbers of such $b_i\;1\leq i \leq k$
but where $A$ is fixed (A is a rank $p$ general
--i.e. non sparse, non PSD-- matrix).
I can solve them individually using an LU decomposition
(costs $O(p^3)$) but was wondering whether there is a
more... |
I want to solve a relatively small system of stiff ODEs (< 10 first-order equations) using high precision floating point arithmetic (using MPFR or alike). What would be the easiest algorithm to implement/port? I'm not only interested in the "stepper" algorithm, but in the combination of stepper/error estimation/step si... |
I need to compute the Matrix Permanents of several $64 \times 64$, zero-one matrices. I have tried using the built in functions in both Sage and Maple, but both programs return out of memory errors. I have also tried several MatLab implementations, but they tend to run very slowly, on the order of days or weeks.
I am ... |
I'm trying to install a Python package that relies on extensions built from Fortran 90 using f2py, but I get the following error:
error: f90 not supported by GnuFCompiler needed for source_file.f90
I have both gfortran and g77 installed, what is going wrong?
|
I've got a program that computes the largest eigenvalue of many real symmetric 50x50 matrices by performing singular-value decompositions on all of them. The SVD is a bottleneck in the program.
Are there algorithms that are much faster in finding the largest eigenvalue, or would optimizing this part not give much retur... |
I need to compute the determinant of a matrix that is calculated as $B \circ A$, with $B$ and $A$ being square matrices and $\circ$ representing their Hadamard product.
One way of doing this is through the eigenvalues of $B \circ A$, since a determinant is equal to the product of eigenvalues. This calculation is part o... |
I want to compute the spectrum (all the eigenvalues) of a large sparse matrix (hundreds of thousands of rows). This is hard.
I am willing to settle for an approximation. Are there approximation methods to do this?
While I hope for a general answer to this question I would also be satisfied with an answer in the followi... |
Suppose I have some function $f$ and I want to find $x$ such that $f(x)\approx 0$. I might use the Newton-Raphson method. But this requires that I know the derivative function $f'(x)$. An analytic expression for $f$ may be unavailable. For example, $f$ may be defined by a complicated piece of computer code that consul... |
I am interested in local AMR on unstructured meshes. Currently, I'm working with the OpenFOAM library - it supports completely unstructured local AMR:
cell refinement criteria determine a list of cells that are cut
selected cells are refined: entire mesh is re-constructed
a map is created from the old mesh to a new ... |
What are typical (or promising) techniques and methods in CFD to achieve high-detailed turbulence and non-linear waves interaction? And with "active" geometry (when bodies interacts with fluid in both ways)?
Currently I've been recommended SPH, but I am very unsure, that SPH is smart choice for my task. Especially cons... |
TL,DR
What is the accepted best practice in scientific computing circles for storing large quantities of hierarchically structured data? For example, SQL does not play nicely with large sparse matrices. Is there a good tool out there for structuring, warehousing, and analyzing this kind of data? What do the guys at the... |
What is the quickest way to find a point inside a linear feasible space? (Defined by the intersection of several hyperplanes and halfspaces). I want to be able to choose an initial point in the original convex space, discover a certain neighborhood around it (not convex but can be written as the union of some convex s... |
Consider a node $s$. Let's assume that there are three outgoing arcs from node $s$ namely $(s,i)$,$(s,j)$ and $(s,k)$. Corresponding to each of these arcs, there is a flow proportion value $t_{sj}\in (0,1]$. It means that the amount of flow along the arc $(s,j)$ should be $t_{sj} *f_{ps}$ in which $f_{ps}$ is flow over... |
A linear program (LP)
\begin{alignat}{1}
& \min_{x} {c}^{T}x, \\
\mathrm{s.t.} & \quad Ax = b, \\
& x \geq 0.
\end{alignat}
is called combinatorial if the size of entries of matrix $A \in \mathbb{R}^{m \times n}$ is bounded by a polynomial of dimension of the LP. (See Eva Tardós, "A strongly polynomial algorithm to sol... |
Answer gives a software for calculating conditional Lyapunov exponent (CLE) for coupled oscillators in chaos synchronization. However, it is hard to follow and there is no graphical output of the plot (and it is in C, more complex). Does anyone know how to modify the LET Toolbox which is very good for uncoupled system... |
I am seeking applications in the industry for the Moore-Penrose generalized inverse $A^\dagger$ of a matrix $A$.
The Moore-Penrose Inverse of $A\in \mathbb{C}^{m\times n}$, denoted
by $A^\dagger$, is the unique matrix $X$ satisfying the following four
Penrose equations.
\begin{eqnarray}
(i)~ AXA = A,~ (ii)~ XAX = ... |
I have a linear programming problem. I want to know if this LP is feasible. What is the best known algorithm for checking feasibility of an LP or a linear system of equations?
|
I have a system of linear equations in form of $AX=b$ where $A_{m\times n}$, $X_{n\times 1}$ and $b_{m\times 1}$. Coefficient matrix $A$ is quite sparse. However, using a practical LP solver like LINGO it is clear that after permutation of rows, it turns out to be like a lower triangular matrix. I do not know what the ... |
I have a problem where I need to diagonalize a large number of small Hermitian matrices. Typically the matrices are between 4 and 64 in size (skewed towards the low end) and the number of matrices is on the order of millions. This is then repeated many times, so I have been trying to figure out the best way to go about... |
I have a a system of bivariate polynomials as follows:
$ E(u,v): e_2(u) v^2 + e_1(u) v + e_0(v) = 0 \\
F(u,v): f_2(u) v^2 + f_1(u) v + f_0(v) = 0$
where $e_n(u) = e_{n_2}u^2 + e_{n_1} u + e_{n_0}$ and similarly $f_n(u) = f_{n_2}u^2 + f_{n_1} u + f_{n_0}$
Thus far, I have solved via a Sylvester Matrix:
Let the Sylves... |
Suppose I have a 2D mesh consisting of nonoverlapping triangles $\{T_k\}_{k=1}^N$, and a set of points $\{p_i\}_{i=1}^M \subset \cup_{k=1}^N T_K$. What is the best way to determine which triangle each of the points lies in?
For example, in the following image we have $p_1 \in T_2$, $p_2 \in T_4$, $p_3 \in T_2$, so I w... |
The following matrix equation
$$B\Sigma + \Sigma B^T + C = 0$$
in $\Sigma$ $-$ for given $B$ and $C$ matrices $-$ appears in my work as a characterization of a covariance matrix. I have learned that this equation is known, in particularly in continuous time control theory, as Lyapunov's equation, and that there are va... |
Possible Duplicate:
Get equation for a curve which intersects x at seemingly randomly distributed points?
I tried asking something similar to this before, but I guess I didn't explain very well. Hopefully this will be more clear.
I need to get an equation which describes a curve with certain points.
For example, I h... |
I have a function $f(x,y,z)$ such that
$\int_{R^3} f(x,y,z)dV$
is finite, and I want to approximate this integral.
I'm familiar with quadrature rules and monte carlo approximations of integrals, but I see some difficulties implementing them with in an infinite domain. In the monte carlo case, how does one go about s... |
I would like to know a good method for interpolating data between two unstructured grids, where one grid is a coarser version of the other.
Efficiency is very important to me since I'm solving a transient PDE problem where I need to transfer data between the grids at every time step of the solution.
I thought about usi... |
Where can I find a library to solve a sparse complex matrix equation iteratively in C.
So far I've only found libraries for direct solution to complex systems, and libraries for iterative solutions to real systems, but no solvers for iterative solutions to complex systems
|
When the absolute pressure becomes negative or $U$ exceeds the speed of light, things have pretty obviously gone wrong (be that bad boundary conditions, a too coarse mesh, a too large timestep etc.).
So, is there any way to have a simulation abort with an error message when values exceed definable non-physical ranges?
|
This complements an earlier question on usable, fast C++ matrix libraries.
I've looked at the Java Matrix Benchmark, and it seems like the performance of java matrix libraries is all over the place. The Apache Commons Math library seems like a simple solution, but I'm curious for others recommendations.
Specifically,... |
I need to compute the helicity modulus as a function of temperature for a three-dimensional X-Y model (see N.K. Kultanov, Yu.E. Lozovik, "The critical behavior of the 3D X-Y model and its relation with fractal properties of the vortex excitations"). I am resorting to using a Monte Carlo simulation because I cannot find... |
In the numerical solution of initial boundary value PDEs, it is very common to employ parallelism in space. It is much less common to employ some form of parallelism in the time discretization, and that parallelism is usually much more limited. I'm aware of an increasing number of codes and published works demonstrat... |
I am reading the following file, that explain the Nelder-Mead optimization Algorithm.(Algorithm Below) Where $B$ is the best point, $G$ second best point, $W$ is the worst point, $R$ reflection point. Why in Case(i) $W$ is replaced by $R$ ?
Assuming that $f(R)<f(G)$ than we go in $Case(i)$. If $f(B) < f(R)$ is true, th... |
How can I solve the following Linear Programming problem in the easiest way?
How can the summation terms be modeled in there?
From page 187 of Mathematical Programming Approaches by Charu Chandra and Janis Grabis.
|
I would like to do evolving factor analysis using the SVD:
Given $m \times n$ data matrix $\mathcal{A}$, and for each $i$ from 1 to $m$, I want to calculate the singular values of:
$$\mathcal{A}\left[1:i,\ 1:n\right]$$
This would be much faster if there was a way to update the computed SVD after adding a row to $\mathc... |
Let $B$ and $I$ denote finite sets, let
$$ E: I \times B \to \mathbb{R}_{> 0} $$
be a function, and let $s_b \in \mathbb{N}$ for $b \in B$ be given.
Find $x_{i, b} \in \{ 0, 1 \}$, for $b \in B$ and $i \in I$ maximizing
$$ \sum_{i \in I} \sum_{b \in B} E(i, b) $$
subject to the constraints:
$$ \sum_{i \in I} x_{i, b}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.