MathWorks.MATLAB.NET.Arrays.MWIndexArray Class
Namespace: MathWorks.MATLAB.NET.Arrays
Root for MWArray
indexing classes
Description
MWIndexArray
is an abstract class that serves as the root for the
MWArray
indexing classes. These classes, represent array types that can
be used as input parameters to the array indexing operator [].
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Properties
Public Properties
This property is read-only.
Syntax
public MWArrayType ArrayType { get; }
MWArrayType
object.This property is read-only.
This property is read-only.
This property is read-only.
This property is read-only.
Syntax
public virtual bool IsDisposed { get; }
This property is read-only.
This property is read-only.
This property is read-only.
This property is read-only.
This property is read-only.
Syntax
public MWArray this[
params int[] indices
] { get; set; }
Array indexing in this API, as in MATLAB®, is one-based rather than zero-based.
Syntax
public int NonZeroMaxStorage { get; }
nzmax
function in the MATLAB documentation.This property is read-only.
This property is read-only.
Syntax
public int NumberOfElements { get; }
prod(size(A))
for non-empty arrays. See numel
.Methods
These methods specialize standard MATLAB operators and functions for objects in this class.
MWIndexArray() | Syntax protected MWIndexArray() Internal default constructor |
MWIndexArray(SerializationInfo, StreamingContext) | Syntax protected MWIndexArray( SerializationInfo serializationInfo, StreamingContext context ) Parameters serializationInfo Type: System.Runtime.Serialization.SerializationInfo Holds the data needed to serialize or deserialize the object. context Type: System.Runtime.Serialization.StreamingContext Describes the source and destination of the serialized stream The arguments for this constructor are supplied by the .NET serialization infrastructure. |
Clone | Syntax public virtual ObjectClone() Makes
a deep copy of an |
Dispose() | Syntax public void Dispose() Releases
resources of the |
Dispose(Boolean) | Syntax protected override void Dispose( bool disposing )
Internal dispose function |
Equals | Syntax public override bool Equals(
Objectobj
) Compares two |
Finalize | Inherited from |
GetHashCode | Syntax public override int GetHashCode() Returns
the hashcode of the |
GetObjectData | Syntax public virtual void GetObjectData( SerializationInfoinfo, StreamingContextcontext )
Implements ISerializable.GetObjectData(SerializationInfo, StreamingContext) Serialization function. The arguments for this function are supplied by the .NET serialization infrastructure. |
GetType | Inherited from |
MemberwiseClone | Inherited from |
ToArray | Syntax public virtual Array ToArray() Returns
a native .NET array containing a copy of data in the underlying MATLAB array. The
returned array has the same dimensionality as the underlying MATLAB array. The
elements of the returned array are converted according to default conversion
rules. If the underlying MATLAB array is a complex numeric type,
|
ToString | Syntax public virtual Array ToArray() Returns
a native string representing the MATLAB index array (Overrides
|
These methods specialize standard MATLAB operators and functions for objects in this class.
Implicit(Byte[] to MWIndexArray) | Implicit cast from a native byte array to a MATLAB index array. |
Implicit(Int16 to MWIndexArray) | Implicit cast from a native short array to a MATLAB index array. |
Implicit(Int32 to MWIndexArray) | Implicit cast from an integer to a MATLAB index array. |
Implicit(Int32[] to MWIndexArray) | Implicit cast from a native integer array to a MATLAB index array. |
Implicit(Int64[] to MWIndexArray) | Implicit cast from a native long array to a MATLAB index array. |
Inheritance Hierarchy
System.Object
Mathworks.MATLAB.NET.Arrays.MWArray
Mathworks.MATLAB.NET.Arrays.MWCellArray
Mathworks.MATLAB.NET.Arrays.MWCharArray
Mathworks.MATLAB.NET.Arrays.MWIndexArray
Mathworks.MATLAB.NET.Arrays.MWObjectArray
Mathworks.MATLAB.NET.Arrays.MWStringArray
Mathworks.MATLAB.NET.Arrays.MWStructArray
Version History
Introduced in R2006a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)