java.lang.Object
uk.ac.manchester.tornado.api.types.vectors.Int8
- All Implemented Interfaces:
Serializable,PrimitiveStorage<IntBuffer>,TornadoVectorsInterface<IntBuffer>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Int8static Int8* Operations on int8 vectors.asBuffer()static Int8static Int8static intDuplicates this vector.intget(int index) getHigh()getLow()longintgetS0()intgetS1()intgetS2()intgetS3()intgetS4()intgetS5()intgetS6()intgetS7()static booleanvoidloadFromBuffer(IntBuffer buffer) static intstatic Int8static intstatic Int8static Int8static Int8voidset(int index, int value) voidvoidsetS0(int value) voidsetS1(int value) voidsetS2(int value) voidsetS3(int value) voidsetS4(int value) voidsetS5(int value) voidsetS6(int value) voidsetS7(int value) intsize()static Int8static Int8static Int8int[]toArray()toString()
-
Field Details
-
TYPE
-
-
Constructor Details
-
Int8
public Int8() -
Int8
public Int8(int s0, int s1, int s2, int s3, int s4, int s5, int s6, int s7)
-
-
Method Details
-
add
* Operations on int8 vectors. -
add
-
sub
-
sub
-
div
-
div
-
mult
-
mult
-
min
-
min
-
max
-
max
-
sqrt
-
dot
-
isEqual
-
toArray
public int[] toArray() -
get
public int get(int index) -
set
public void set(int index, int value) -
set
-
getS0
public int getS0() -
setS0
public void setS0(int value) -
getS1
public int getS1() -
setS1
public void setS1(int value) -
getS2
public int getS2() -
setS2
public void setS2(int value) -
getS3
public int getS3() -
setS3
public void setS3(int value) -
getS4
public int getS4() -
setS4
public void setS4(int value) -
getS5
public int getS5() -
setS5
public void setS5(int value) -
getS6
public int getS6() -
setS6
public void setS6(int value) -
getS7
public int getS7() -
setS7
public void setS7(int value) -
getHigh
-
getLow
-
duplicate
Duplicates this vector.- Returns:
Int8
-
toString
-
toString
-
loadFromBuffer
- Specified by:
loadFromBufferin interfacePrimitiveStorage<IntBuffer>
-
asBuffer
- Specified by:
asBufferin interfacePrimitiveStorage<IntBuffer>
-
size
public int size()- Specified by:
sizein interfacePrimitiveStorage<IntBuffer>
-
getNumBytes
public long getNumBytes()- Specified by:
getNumBytesin interfaceTornadoVectorsInterface<IntBuffer>
-