Show / Hide Table of Contents

Class Shape

Inheritance
System.Object
Shape
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NumSharp
Assembly: NumSharp.dll
Syntax
public class Shape

Constructors

| Improve this Doc View Source

Shape(IReadOnlyList<Int32>)

Declaration
public Shape(IReadOnlyList<int> shape)
Parameters
Type Name Description
System.Collections.Generic.IReadOnlyList<System.Int32> shape
| Improve this Doc View Source

Shape(Int32[])

Declaration
public Shape(params int[] shape)
Parameters
Type Name Description
System.Int32[] shape

Properties

| Improve this Doc View Source

BiShape

Declaration
public (int, int)BiShape { get; }
Property Value
Type Description
System.ValueTuple<System.Int32, System.Int32>
| Improve this Doc View Source

DimOffset

Declaration
public IReadOnlyList<int> DimOffset { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<System.Int32>
| Improve this Doc View Source

Item[Int32]

Declaration
public int this[int dim] { get; }
Parameters
Type Name Description
System.Int32 dim
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Length

Declaration
public int Length { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Shapes

Declaration
public IReadOnlyList<int> Shapes { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<System.Int32>
| Improve this Doc View Source

Size

Declaration
public int Size { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TriShape

Declaration
public (int, int, int)TriShape { get; }
Property Value
Type Description
System.ValueTuple<System.Int32, System.Int32, System.Int32>
| Improve this Doc View Source

UniShape

Declaration
public int UniShape { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Operators

| Improve this Doc View Source

Equality(Shape, Shape)

Declaration
public static bool operator ==(Shape a, Shape b)
Parameters
Type Name Description
Shape a
Shape b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(Shape, Shape)

Declaration
public static bool operator !=(Shape a, Shape b)
Parameters
Type Name Description
Shape a
Shape b
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX