• Slang Standard Library Reference
    • Interfaces
      • IArithmetic
      • IArithmeticAtomicable
      • IArray
      • IAtomicable
      • IBitAtomicable
      • IBufferDataLayout
      • IComparable
      • IDefaultInitializable
      • IDiffTensorWrapper
      • IDifferentiable
      • IDifferentiableFunc
      • IDifferentiableMutatingFunc
      • IDifferentiablePtrType
      • IFloat
        • add
        • div
        • init
        • mod
        • mul
        • neg
        • scale
        • sub
        • toFloat
      • IFunc
      • IInteger
      • ILogical
      • IMutatingFunc
      • IOpaqueDescriptor
      • IPhysicalBuffer
      • IRWArray
      • IRWPhysicalBuffer
      • IRangedValue
      • ITexelElement
      • __BuiltinArithmeticType
      • __BuiltinFloatingPointType
      • __BuiltinIntegerType
      • __BuiltinLogicalType
      • __ITextureShape
      • __ITextureShape1D2D3D
    • Types
    • Attributes
    • Global Declarations

IFloat.scale

Description

Multiplies a value of the conforming type by a floating point scale factor..

Signature

IFloat.This IFloat.scale<T>(T scale)
    where T : __BuiltinFloatingPointType;

Generic Parameters

T: __BuiltinFloatingPointType

Parameters

scale : T