csharpfftfsharpintegrationinterpolationlinear-algebramathdifferentiationmatrixnumericsrandomregressionstatisticsmathnet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
658 B
25 lines
658 B
using System.Collections.Generic;
|
|
|
|
namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Double
|
|
{
|
|
using LinearAlgebra.Double;
|
|
|
|
public class DenseVectorTests : VectorTests
|
|
{
|
|
protected override MathNet.Numerics.LinearAlgebra.Double.Vector CreateVector(int size)
|
|
{
|
|
return new DenseVector(size);
|
|
}
|
|
|
|
protected override Vector CreateVector(IList<double> data)
|
|
{
|
|
var vector = new DenseVector(data.Count);
|
|
for(var index = 0; index < data.Count; index++)
|
|
{
|
|
vector[index] = data[index];
|
|
}
|
|
|
|
return vector;
|
|
}
|
|
}
|
|
}
|
|
|