The mapping from HDS to the Scalar class is very simple -- all primitive scalar HDS components can be used as objects of class Scalar .