Browse Source

LA: fix wrong description in vector infinity norm inline docs

pull/222/head
Christoph Ruegg 12 years ago
parent
commit
8cf40fbaf1
  1. 11
      CONTRIBUTORS.md
  2. 2
      src/Numerics/LinearAlgebra/Complex/DenseVector.cs
  3. 2
      src/Numerics/LinearAlgebra/Complex/SparseVector.cs
  4. 2
      src/Numerics/LinearAlgebra/Complex/Vector.cs
  5. 2
      src/Numerics/LinearAlgebra/Complex32/DenseVector.cs
  6. 2
      src/Numerics/LinearAlgebra/Complex32/SparseVector.cs
  7. 2
      src/Numerics/LinearAlgebra/Complex32/Vector.cs
  8. 2
      src/Numerics/LinearAlgebra/Double/DenseVector.cs
  9. 2
      src/Numerics/LinearAlgebra/Double/SparseVector.cs
  10. 2
      src/Numerics/LinearAlgebra/Double/Vector.cs
  11. 2
      src/Numerics/LinearAlgebra/Single/DenseVector.cs
  12. 2
      src/Numerics/LinearAlgebra/Single/SparseVector.cs
  13. 2
      src/Numerics/LinearAlgebra/Single/Vector.cs
  14. 2
      src/Numerics/LinearAlgebra/Vector.Arithmetic.cs

11
CONTRIBUTORS.md

@ -73,13 +73,16 @@ This section is incomplete - let us know if we forgot something.*
- Andrew Kurochka
- Thaddaeus Parker
### Other Numerical Works & Resources
### Other Numerical Works, References & Resources
*As inspiration, reference or more - depending on the licensing terms*
- ALGLIB: [Sergey Bochkanov](http://www.alglib.net/)
- Boost: John Maddock
- Cephes Math Library: Stephen L. Moshier
- [ALGLIB](http://www.alglib.net/): Sergey Bochkanov
- [Boost](http://www.boost.org/): John Maddock
- [Netlib/Cephes Math Library](http://www.netlib.org/cephes/): Stephen L. Moshier
- [Stand-alone code for numerical computing](http://www.johndcook.com/stand_alone_code.html): John D. Cook
- [Miscellaneous Utility Library](http://www.yoda.arachsys.com/csharp/miscutil/): Marc Gravell, Jon Skeet
- [NIST Digital Library of Mathematical Functions](http://www.johndcook.com/stand_alone_code.html)
### Special Thanks

2
src/Numerics/LinearAlgebra/Complex/DenseVector.cs

@ -599,7 +599,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(_values, (i, v) => v.Magnitude, Math.Max, 0d);

2
src/Numerics/LinearAlgebra/Complex/SparseVector.cs

@ -714,7 +714,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(0, _storage.ValueCount, i => _storage.Values[i].Magnitude, Math.Max, 0d);

2
src/Numerics/LinearAlgebra/Complex/Vector.cs

@ -414,7 +414,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(0, Count, i => At(i).Magnitude, Math.Max, 0d);

2
src/Numerics/LinearAlgebra/Complex32/DenseVector.cs

@ -594,7 +594,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(_values, (i, v) => v.Magnitude, Math.Max, 0f);

2
src/Numerics/LinearAlgebra/Complex32/SparseVector.cs

@ -709,7 +709,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(0, _storage.ValueCount, i => _storage.Values[i].Magnitude, Math.Max, 0f);

2
src/Numerics/LinearAlgebra/Complex32/Vector.cs

@ -409,7 +409,7 @@ namespace MathNet.Numerics.LinearAlgebra.Complex32
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(0, Count, i => At(i).Magnitude, Math.Max, 0f);

2
src/Numerics/LinearAlgebra/Double/DenseVector.cs

@ -676,7 +676,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(_values, (i, v) => Math.Abs(v), Math.Max, 0d);

2
src/Numerics/LinearAlgebra/Double/SparseVector.cs

@ -756,7 +756,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(0, _storage.ValueCount, i => Math.Abs(_storage.Values[i]), Math.Max, 0d);

2
src/Numerics/LinearAlgebra/Double/Vector.cs

@ -420,7 +420,7 @@ namespace MathNet.Numerics.LinearAlgebra.Double
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(0, Count, i => Math.Abs(At(i)), Math.Max, 0d);

2
src/Numerics/LinearAlgebra/Single/DenseVector.cs

@ -666,7 +666,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(_values, (i, v) => Math.Abs(v), Math.Max, 0f);

2
src/Numerics/LinearAlgebra/Single/SparseVector.cs

@ -757,7 +757,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(0, _storage.ValueCount, i => Math.Abs(_storage.Values[i]), Math.Max, 0f);

2
src/Numerics/LinearAlgebra/Single/Vector.cs

@ -420,7 +420,7 @@ namespace MathNet.Numerics.LinearAlgebra.Single
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public override double InfinityNorm()
{
return CommonParallel.Aggregate(0, Count, i => Math.Abs(At(i)), Math.Max, 0f);

2
src/Numerics/LinearAlgebra/Vector.Arithmetic.cs

@ -984,7 +984,7 @@ namespace MathNet.Numerics.LinearAlgebra
/// <summary>
/// Calculates the infinity norm of the vector.
/// </summary>
/// <returns>The square root of the sum of the squared values.</returns>
/// <returns>The maximum absolute value.</returns>
public abstract double InfinityNorm();
/// <summary>

Loading…
Cancel
Save