java.lang.Object
uk.ac.manchester.tornado.api.types.vectors.Int16
- All Implemented Interfaces:
Serializable,PrimitiveStorage<IntBuffer>,TornadoVectorsInterface<IntBuffer>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Int16static Int16* Operations on Int16 vectors.asBuffer()static Int16static Int16static intDuplicates this vector.intget(int index) longintgetS0()intgetS1()intgetS10()intgetS11()intgetS12()intgetS13()intgetS14()intgetS15()intgetS2()intgetS3()intgetS4()intgetS5()intgetS6()intgetS7()intgetS8()intgetS9()static booleanvoidloadFromBuffer(IntBuffer buffer) static intstatic Int16static intstatic Int16static Int16static Int16voidset(int index, int value) voidvoidsetS0(int value) voidsetS1(int value) voidsetS10(int value) voidsetS11(int value) voidsetS12(int value) voidsetS14(int value) voidsetS15(int value) voidsetS2(int value) voidsetS3(int value) voidsetS4(int value) voidsetS5(int value) voidsetS6(int value) voidsetS7(int value) voidsetS8(int value) voidsetS9(int value) intsize()static Int16static Int16static Int16int[]toArray()toString()
-
Field Details
-
TYPE
-
-
Constructor Details
-
Int16
public Int16() -
Int16
public Int16(int s0, int s1, int s2, int s3, int s4, int s5, int s6, int s7, int s8, int s9, int s10, int s11, int s12, int s13, int s14, int s15)
-
-
Method Details
-
add
* Operations on Int16 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) -
getS8
public int getS8() -
setS8
public void setS8(int value) -
getS9
public int getS9() -
setS9
public void setS9(int value) -
getS10
public int getS10() -
setS10
public void setS10(int value) -
getS11
public int getS11() -
setS11
public void setS11(int value) -
getS12
public int getS12() -
setS12
public void setS12(int value) -
getS13
public int getS13() -
getS14
public int getS14() -
setS14
public void setS14(int value) -
getS15
public int getS15() -
setS15
public void setS15(int value) -
duplicate
Duplicates this vector.- Returns:
Int16
-
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>
-