nanomath/src/vector/utils.js

10 lines
405 B
JavaScript

import {promoteUnary} from './helpers.js'
export const clone = promoteUnary('clone')
export const isnan = promoteUnary('isnan')
export const isfinite = promoteUnary('isfinite')
export const isInteger = promoteUnary('isInteger')
export const isReal = promoteUnary('isReal')
export const nonImaginary = promoteUnary('nonImaginary')
export const re = promoteUnary('re')
export const im = promoteUnary('im')