Math.NET Numerics
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.
 
 
 

553 lines
24 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>VectorBuilder&lt;T&gt; - Math.NET Numerics Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link type="text/css" rel="stylesheet" href="../main.css"/>
<script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../js/jquery.scrollTo-min.js"></script>
<script type="text/javascript" src="../js/navigation.js"></script>
<script type="text/javascript" src="../js/example.js"></script>
</head>
<body><div id="namespaces">
<h2 class="fixed">Namespaces</h2>
<div class="scroll">
<ul>
<li>
<a href="../MathNet.Numerics/index.htm">MathNet.Numerics</a>
</li>
<li>
<a href="../MathNet.Numerics.Differentiation/index.htm">MathNet.Numerics.Differentiation</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/index.htm">MathNet.Numerics.Distributions</a>
</li>
<li>
<a href="../MathNet.Numerics.Financial/index.htm">MathNet.Numerics.Financial</a>
</li>
<li>
<a href="../MathNet.Numerics.IntegralTransforms/index.htm">MathNet.Numerics.IntegralTransforms</a>
</li>
<li>
<a href="../MathNet.Numerics.Integration/index.htm">MathNet.Numerics.Integration</a>
</li>
<li>
<a href="../MathNet.Numerics.Interpolation/index.htm">MathNet.Numerics.Interpolation</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/index.htm" class="current">MathNet.Numerics.LinearAlgebra</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex/index.htm">MathNet.Numerics.LinearAlgebra.Complex</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Complex.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex32/index.htm">MathNet.Numerics.LinearAlgebra.Complex32</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex32.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Complex32.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Double/index.htm">MathNet.Numerics.LinearAlgebra.Double</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Double.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Double.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Factorization/index.htm">MathNet.Numerics.LinearAlgebra.Factorization</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Single/index.htm">MathNet.Numerics.LinearAlgebra.Single</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Single.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Single.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Storage/index.htm">MathNet.Numerics.LinearAlgebra.Storage</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearRegression/index.htm">MathNet.Numerics.LinearRegression</a>
</li>
<li>
<a href="../MathNet.Numerics.OdeSolvers/index.htm">MathNet.Numerics.OdeSolvers</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization/index.htm">MathNet.Numerics.Optimization</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.LineSearch/index.htm">MathNet.Numerics.Optimization.LineSearch</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.ObjectiveFunctions/index.htm">MathNet.Numerics.Optimization.ObjectiveFunctions</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.TrustRegion/index.htm">MathNet.Numerics.Optimization.TrustRegion</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers/index.htm">MathNet.Numerics.Providers</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.FourierTransform/index.htm">MathNet.Numerics.Providers.FourierTransform</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.LinearAlgebra/index.htm">MathNet.Numerics.Providers.LinearAlgebra</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.SparseSolver/index.htm">MathNet.Numerics.Providers.SparseSolver</a>
</li>
<li>
<a href="../MathNet.Numerics.Random/index.htm">MathNet.Numerics.Random</a>
</li>
<li>
<a href="../MathNet.Numerics.RootFinding/index.htm">MathNet.Numerics.RootFinding</a>
</li>
<li>
<a href="../MathNet.Numerics.Statistics/index.htm">MathNet.Numerics.Statistics</a>
</li>
<li>
<a href="../MathNet.Numerics.Statistics.Mcmc/index.htm">MathNet.Numerics.Statistics.Mcmc</a>
</li>
</ul>
</div>
</div><div id="types">
<h2 class="fixed">Types in MathNet.Numerics.LinearAlgebra</h2>
<div class="scroll">
<ul>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/CreateMatrix.htm">CreateMatrix</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/CreateVector.htm">CreateVector</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/ExistingData.htm">ExistingData</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/MatrixBuilder`1.htm">MatrixBuilder&lt;T&gt;</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/MatrixExtensions.htm">MatrixExtensions</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/Symmetricity.htm">Symmetricity</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm" class="current">VectorBuilder&lt;T&gt;</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/VectorExtensions.htm">VectorExtensions</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/Zeros.htm">Zeros</a>
</li>
</ul>
</div>
</div>
<div class="header">
<p class="class"><strong>Type</strong> VectorBuilder&lt;T&gt;</p>
<p><strong>Namespace</strong> MathNet.Numerics.LinearAlgebra</p>
</div>
<div class="sub-header">
<div id="summary">Generic linear algebra type builder, for situations where a matrix or vector
must be created in a generic way. Usage of generic builders should not be
required in normal user code.
</div>
<h3 class="section">Methods</h3>
<ul>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Dense">Dense</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Dense">Dense</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Dense">Dense</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Dense">Dense</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Dense">Dense</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#DenseOfArray">DenseOfArray</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#DenseOfEnumerable">DenseOfEnumerable</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#DenseOfIndexed">DenseOfIndexed</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#DenseOfVector">DenseOfVector</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Equals">Equals</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#GetHashCode">GetHashCode</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#GetType">GetType</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#OfStorage">OfStorage</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Random">Random</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Random">Random</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Random">Random</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SameAs">SameAs</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SameAs">SameAs</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SameAs">SameAs</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SameAs``1">SameAs&lt;TU&gt;</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SameAs``1">SameAs&lt;TU&gt;</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SameAs``1">SameAs&lt;TU&gt;</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Sparse">Sparse</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Sparse">Sparse</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Sparse">Sparse</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Sparse">Sparse</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SparseOfArray">SparseOfArray</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SparseOfEnumerable">SparseOfEnumerable</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SparseOfIndexed">SparseOfIndexed</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#SparseOfVector">SparseOfVector</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#ToString">ToString</a></li>
</ul>
<h3 class="section">Properties</h3>
<ul>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#One">One</a></li>
<li><a href="../MathNet.Numerics.LinearAlgebra/VectorBuilder`1.htm#Zero">Zero</a></li>
</ul>
</div>
<h3 class="section">Public Methods</h3>
<div id="Dense" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Dense</strong>(<span title="System.int">int</span> length, <span title="System.Func<int, T>">Func&lt;int, T&gt;</span> init)</h4>
<div class="content">Create a new dense vector and initialize each value using the provided init function.
</div>
</div>
<div id="Dense" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Dense</strong>(<span title="System.int">int</span> length, <span title="MathNet.Numerics.LinearAlgebra.T">T</span> value)</h4>
<div class="content">Create a new dense vector and initialize each value using the provided value.
</div>
</div>
<div id="Dense" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Dense</strong>(<span title="MathNet.Numerics.LinearAlgebra.T[]">T[]</span> array)</h4>
<div class="content">Create a dense vector of T that is directly bound to the specified array.
</div>
</div>
<div id="Dense" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Dense</strong>(<a href="../MathNet.Numerics.LinearAlgebra.Storage/DenseVectorStorage`1.htm">DenseVectorStorage&lt;T&gt;</a> storage)</h4>
<div class="content">Create a new dense vector straight from an initialized vector storage instance.
The storage is used directly without copying.
Intended for advanced scenarios where you're working directly with
storage for performance or interop reasons.
</div>
</div>
<div id="Dense" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Dense</strong>(<span title="System.int">int</span> size)</h4>
<div class="content">Create a dense vector of T with the given size.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.int">int</span></code> size</h6>
<p class="comments">The size of the vector. </p>
</div>
</div>
</div>
<div id="DenseOfArray" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>DenseOfArray</strong>(<span title="MathNet.Numerics.LinearAlgebra.T[]">T[]</span> array)</h4>
<div class="content">Create a new dense vector as a copy of the given array.
This new vector will be independent from the array.
A new memory block will be allocated for storing the vector.
</div>
</div>
<div id="DenseOfEnumerable" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>DenseOfEnumerable</strong>(<span title="System.Collections.Generic.IEnumerable<T>">IEnumerable&lt;T&gt;</span> enumerable)</h4>
<div class="content">Create a new dense vector as a copy of the given enumerable.
This new vector will be independent from the enumerable.
A new memory block will be allocated for storing the vector.
</div>
</div>
<div id="DenseOfIndexed" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>DenseOfIndexed</strong>(<span title="System.int">int</span> length, <span title="System.Collections.Generic.IEnumerable<Tuple<int, T>>">IEnumerable&lt;Tuple&lt;int, T&gt;&gt;</span> enumerable)</h4>
<div class="content">Create a new dense vector as a copy of the given indexed enumerable.
Keys must be provided at most once, zero is assumed if a key is omitted.
This new vector will be independent from the enumerable.
A new memory block will be allocated for storing the vector.
</div>
</div>
<div id="DenseOfVector" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>DenseOfVector</strong>(<a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> vector)</h4>
<div class="content">Create a new dense vector as a copy of the given other vector.
This new vector will be independent from the other vector.
A new memory block will be allocated for storing the vector.
</div>
</div>
<div id="Equals" class="method">
<h4><span title="System.bool">bool</span> <strong>Equals</strong>(<span title="System.object">object</span> obj)</h4>
<div class="content">
</div>
</div>
<div id="GetHashCode" class="method">
<h4><span title="System.int">int</span> <strong>GetHashCode</strong>()</h4>
<div class="content">
</div>
</div>
<div id="GetType" class="method">
<h4><span title="System.Type">Type</span> <strong>GetType</strong>()</h4>
<div class="content">
</div>
</div>
<div id="OfStorage" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>OfStorage</strong>(<a href="../MathNet.Numerics.LinearAlgebra.Storage/VectorStorage`1.htm">VectorStorage&lt;T&gt;</a> storage)</h4>
<div class="content">Create a new vector straight from an initialized matrix storage instance.
If you have an instance of a discrete storage type instead, use their direct methods instead.
</div>
</div>
<div id="Random" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Random</strong>(<span title="System.int">int</span> length)</h4>
<div class="content">Create a new dense vector with values sampled from the standard distribution with a system random source.
</div>
</div>
<div id="Random" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Random</strong>(<span title="System.int">int</span> length, <a href="../MathNet.Numerics.Distributions/IContinuousDistribution.htm">IContinuousDistribution</a> distribution)</h4>
<div class="content">Create a new dense vector with values sampled from the provided random distribution.
</div>
</div>
<div id="Random" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Random</strong>(<span title="System.int">int</span> length, <span title="System.int">int</span> seed)</h4>
<div class="content">Create a new dense vector with values sampled from the standard distribution with a system random source.
</div>
</div>
<div id="SameAs" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SameAs</strong>(<a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> matrix, <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> vector, <span title="System.int">int</span> length)</h4>
<div class="content">Create a new vector with a type that can represent and is closest to both provided samples.
</div>
</div>
<div id="SameAs" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SameAs</strong>(<a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> example, <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> otherExample)</h4>
<div class="content">Create a new vector with a type that can represent and is closest to both provided samples and the dimensions of example.
</div>
</div>
<div id="SameAs" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SameAs</strong>(<a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> example, <a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> otherExample, <span title="System.int">int</span> length)</h4>
<div class="content">Create a new vector with a type that can represent and is closest to both provided samples.
</div>
</div>
<div id="SameAs``1" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SameAs&lt;TU&gt;</strong>(<a href="../MathNet.Numerics.LinearAlgebra/Matrix`1.htm">Matrix&lt;T&gt;</a> example, <span title="System.int">int</span> length)</h4>
<div class="content">Create a new vector with the same kind of the provided example.
</div>
</div>
<div id="SameAs``1" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SameAs&lt;TU&gt;</strong>(<a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> example, <span title="System.int">int</span> length)</h4>
<div class="content">Create a new vector with the same kind of the provided example.
</div>
</div>
<div id="SameAs``1" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SameAs&lt;TU&gt;</strong>(<a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> example)</h4>
<div class="content">Create a new vector with the same kind and dimension of the provided example.
</div>
</div>
<div id="Sparse" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Sparse</strong>(<span title="System.int">int</span> length, <span title="MathNet.Numerics.LinearAlgebra.T">T</span> value)</h4>
<div class="content">Create a new sparse vector and initialize each value using the provided value.
</div>
</div>
<div id="Sparse" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Sparse</strong>(<span title="System.int">int</span> size)</h4>
<div class="content">Create a sparse vector of T with the given size.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.int">int</span></code> size</h6>
<p class="comments">The size of the vector. </p>
</div>
</div>
</div>
<div id="Sparse" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Sparse</strong>(<a href="../MathNet.Numerics.LinearAlgebra.Storage/SparseVectorStorage`1.htm">SparseVectorStorage&lt;T&gt;</a> storage)</h4>
<div class="content">Create a new sparse vector straight from an initialized vector storage instance.
The storage is used directly without copying.
Intended for advanced scenarios where you're working directly with
storage for performance or interop reasons.
</div>
</div>
<div id="Sparse" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>Sparse</strong>(<span title="System.int">int</span> length, <span title="System.Func<int, T>">Func&lt;int, T&gt;</span> init)</h4>
<div class="content">Create a new sparse vector and initialize each value using the provided init function.
</div>
</div>
<div id="SparseOfArray" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SparseOfArray</strong>(<span title="MathNet.Numerics.LinearAlgebra.T[]">T[]</span> array)</h4>
<div class="content">Create a new sparse vector as a copy of the given array.
This new vector will be independent from the array.
A new memory block will be allocated for storing the vector.
</div>
</div>
<div id="SparseOfEnumerable" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SparseOfEnumerable</strong>(<span title="System.Collections.Generic.IEnumerable<T>">IEnumerable&lt;T&gt;</span> enumerable)</h4>
<div class="content">Create a new sparse vector as a copy of the given enumerable.
This new vector will be independent from the enumerable.
A new memory block will be allocated for storing the vector.
</div>
</div>
<div id="SparseOfIndexed" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SparseOfIndexed</strong>(<span title="System.int">int</span> length, <span title="System.Collections.Generic.IEnumerable<Tuple<int, T>>">IEnumerable&lt;Tuple&lt;int, T&gt;&gt;</span> enumerable)</h4>
<div class="content">Create a new sparse vector as a copy of the given indexed enumerable.
Keys must be provided at most once, zero is assumed if a key is omitted.
This new vector will be independent from the enumerable.
A new memory block will be allocated for storing the vector.
</div>
</div>
<div id="SparseOfVector" class="method">
<h4><a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> <strong>SparseOfVector</strong>(<a href="../MathNet.Numerics.LinearAlgebra/Vector`1.htm">Vector&lt;T&gt;</a> vector)</h4>
<div class="content">Create a new sparse vector as a copy of the given other vector.
This new vector will be independent from the other vector.
A new memory block will be allocated for storing the vector.
</div>
</div>
<div id="ToString" class="method">
<h4><span title="System.string">string</span> <strong>ToString</strong>()</h4>
<div class="content">
</div>
</div>
<h3 class="section">Public Properties</h3>
<div id="One" class="method">
<h4><span title="MathNet.Numerics.LinearAlgebra.T">T</span> <strong>One</strong> get; </h4>
<div class="content">Gets the value of <code>1.0</code> for type T.
</div>
</div>
<div id="Zero" class="method">
<h4><span title="MathNet.Numerics.LinearAlgebra.T">T</span> <strong>Zero</strong> get; </h4>
<div class="content">Gets the value of <code>0.0</code> for type T.
</div>
</div>
<div id="footer">
<p>Based on v5.0.0.0 of MathNet.Numerics (Math.NET Numerics)</p>
<p>Generated by <a href="http://docu.jagregory.com">docu</a></p>
</div>
</body>
</html>