Top "Numerical" questions

This tag is for questions concerning problems using numbers which either cannot be exactly solved, or where the exact solution may be much more difficult to acquire than by using numerical methods.

Least Squares C# library

I am looking to perform a polynomial least squares regression and am looking for a C# library to do the …

c# math numerical
How to find the length of a numerical variable using PROC SQL

I have a dataset with a column of phone numbers. I want to filter this dataset using PROC SQL WHERE …

sql sas numerical string-length proc-sql
Does Python have a function to reduce fractions?

For example, when I calculate 98/42 I want to get 7/3, not 2.3333333, is there a function for that using Python or Numpy?

python python-2.7 numpy numerical fractions
Passing around fixed-size arrays in C++?

Basically I'd like to do something like that: int[3] array_func() { return {1,1,1}; } int main(int argc,char * argv[]) { int[3] point=…

c++ performance allocation numerical
Test if a floating point number is an integer

This code works (C# 3) double d; if(d == (double)(int)d) ...; Is there a better way to do this? For …

c# floating-point numerical
Plotting a line over several graphs

I don't know how this thing is called, or even how to describe it, so the title may be a …

python plot numerical matplotlib
Fitting a line that passes through the origin (0,0) to data

I have a set of points (x,y) and I need to find the line of best-fit that passes through …

algorithm matlab numerical curve-fitting least-squares
Round number to specified number of digits

Is there a simple function to round a Double or Float to a specified number of digits? I've searched here …

haskell numerical
What is the limit of the Value Type BigInteger in C#?

As described in MSDN BigInteger is : An immutable type that represents an arbitrarily large integer whose value in theory has …

c# .net numerical value-type
Code to solve determinant using Python without using scipy.linalg.det

Description(this is a hwk question): I am not sure where to start here. I plan to use Laplace's Expansion …

python matrix numerical determinants