LinearOperator<T> Constructor

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

LinearOperator<T>(Int32, Int32)

Constructs a new LinearOperator<T>.
C#
protected LinearOperator(
	int rowCount,
	int columnCount
)

Parameters

rowCount  Int32
 
columnCount  Int32
 

Exceptions

ArgumentOutOfRangeException

rowCount is less than zero.

-or-

columnCount is less than zero.

LinearOperator<T>(SerializationInfo, StreamingContext)

Note: This API is now obsolete.
Constructs a new linear operator from serialization data.
C#
[ObsoleteAttribute(DiagnosticId = "SYSLIB0051")]
protected LinearOperator(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The data needed to serialize or deserialize the LinearOperator<T>.
context  StreamingContext
The source and destination of a given serialized stream.

Remarks

This constructor is called internally by the .NET framework when a LinearOperator<T> is deserialized.

LinearOperator<T>(Int32, Int32, TransposeOperation)

Constructs a new LinearOperator<T>.
C#
protected LinearOperator(
	int rowCount,
	int columnCount,
	TransposeOperation operation
)

Parameters

rowCount  Int32
 
columnCount  Int32
 
operation  TransposeOperation
 

Exceptions

ArgumentOutOfRangeException

rowCount is less than zero.

-or-

columnCount is less than zero.

See Also