Struct long2
long2. long stands here for the long .NET type, i.e. long long or a 64bit long in C++/CUDA
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: ManagedCuda.dll
Syntax
public struct long2 : ICudaVectorType
Constructors
|
Improve this Doc
View Source
long2(Int64)
Declaration
Parameters
Type |
Name |
Description |
System.Int64 |
val |
|
|
Improve this Doc
View Source
long2(Int64, Int64)
Declaration
public long2(long xValue, long yValue)
Parameters
Type |
Name |
Description |
System.Int64 |
xValue |
|
System.Int64 |
yValue |
|
Fields
|
Improve this Doc
View Source
x
Declaration
Field Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
y
Declaration
Field Value
Type |
Description |
System.Int64 |
|
Properties
|
Improve this Doc
View Source
Size
Gives the size of this type in bytes.
Is equal to Marshal.SizeOf(this);
Declaration
public uint Size { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
SizeOf
Gives the size of this type in bytes.
Is equal to Marshal.SizeOf(long2);
Declaration
public static uint SizeOf { get; }
Property Value
Type |
Description |
System.UInt32 |
|
Methods
|
Improve this Doc
View Source
Add(long2, long2)
Declaration
public static long2 Add(long2 src, long2 value)
Parameters
Returns
|
Improve this Doc
View Source
Add(long2, Int64)
Declaration
public static long2 Add(long2 src, long value)
Parameters
Type |
Name |
Description |
long2 |
src |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
Add(Int64, long2)
Declaration
public static long2 Add(long src, long2 value)
Parameters
Type |
Name |
Description |
System.Int64 |
src |
|
long2 |
value |
|
Returns
|
Improve this Doc
View Source
Divide(long2, long2)
Declaration
public static long2 Divide(long2 src, long2 value)
Parameters
Returns
|
Improve this Doc
View Source
Divide(long2, Int64)
Declaration
public static long2 Divide(long2 src, long value)
Parameters
Type |
Name |
Description |
long2 |
src |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
Divide(Int64, long2)
Declaration
public static long2 Divide(long src, long2 value)
Parameters
Type |
Name |
Description |
System.Int64 |
src |
|
long2 |
value |
|
Returns
|
Improve this Doc
View Source
Equals(long2)
Declaration
public bool Equals(long2 value)
Parameters
Type |
Name |
Description |
long2 |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
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.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
Max(long2, long2)
Component wise maximum as the CUDA function imaxi
Declaration
public static long2 Max(long2 aValue, long2 bValue)
Parameters
Returns
|
Improve this Doc
View Source
Min(long2, long2)
Component wise minimum as the CUDA function imini
Declaration
public static long2 Min(long2 aValue, long2 bValue)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(long2, long2)
Declaration
public static long2 Multiply(long2 src, long2 value)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(long2, Int64)
Declaration
public static long2 Multiply(long2 src, long value)
Parameters
Type |
Name |
Description |
long2 |
src |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
Multiply(Int64, long2)
Declaration
public static long2 Multiply(long src, long2 value)
Parameters
Type |
Name |
Description |
System.Int64 |
src |
|
long2 |
value |
|
Returns
|
Improve this Doc
View Source
Subtract(long2, long2)
Declaration
public static long2 Subtract(long2 src, long2 value)
Parameters
Returns
|
Improve this Doc
View Source
Subtract(long2, Int64)
Declaration
public static long2 Subtract(long2 src, long value)
Parameters
Type |
Name |
Description |
long2 |
src |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
Subtract(Int64, long2)
Declaration
public static long2 Subtract(long src, long2 value)
Parameters
Type |
Name |
Description |
System.Int64 |
src |
|
long2 |
value |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
|
Improve this Doc
View Source
Addition(long2, long2)
Declaration
public static long2 operator +(long2 src, long2 value)
Parameters
Returns
|
Improve this Doc
View Source
Addition(long2, Int64)
Declaration
public static long2 operator +(long2 src, long value)
Parameters
Type |
Name |
Description |
long2 |
src |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
Addition(Int64, long2)
Declaration
public static long2 operator +(long src, long2 value)
Parameters
Type |
Name |
Description |
System.Int64 |
src |
|
long2 |
value |
|
Returns
|
Improve this Doc
View Source
Division(long2, long2)
Declaration
public static long2 operator /(long2 src, long2 value)
Parameters
Returns
|
Improve this Doc
View Source
Division(long2, Int64)
Declaration
public static long2 operator /(long2 src, long value)
Parameters
Type |
Name |
Description |
long2 |
src |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
Division(Int64, long2)
Declaration
public static long2 operator /(long src, long2 value)
Parameters
Type |
Name |
Description |
System.Int64 |
src |
|
long2 |
value |
|
Returns
|
Improve this Doc
View Source
Equality(long2, long2)
Declaration
public static bool operator ==(long2 src, long2 value)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(long2, long2)
Declaration
public static bool operator !=(long2 src, long2 value)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Multiply(long2, long2)
Declaration
public static long2 operator *(long2 src, long2 value)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(long2, Int64)
Declaration
public static long2 operator *(long2 src, long value)
Parameters
Type |
Name |
Description |
long2 |
src |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
Multiply(Int64, long2)
Declaration
public static long2 operator *(long src, long2 value)
Parameters
Type |
Name |
Description |
System.Int64 |
src |
|
long2 |
value |
|
Returns
|
Improve this Doc
View Source
Subtraction(long2, long2)
Declaration
public static long2 operator -(long2 src, long2 value)
Parameters
Returns
|
Improve this Doc
View Source
Subtraction(long2, Int64)
Declaration
public static long2 operator -(long2 src, long value)
Parameters
Type |
Name |
Description |
long2 |
src |
|
System.Int64 |
value |
|
Returns
|
Improve this Doc
View Source
Subtraction(Int64, long2)
Declaration
public static long2 operator -(long src, long2 value)
Parameters
Type |
Name |
Description |
System.Int64 |
src |
|
long2 |
value |
|
Returns
Implements