Tag Archives: Code for getting no. of variables

How to find number of Variables defined in a Class

In this blog, we will look how to find the number of variables defined in a class. Sage X3 has the solution to know with the help of keyword “clanbs”’ along condition. Clanbs return the number of variables existing in a class or the number of symbols allocated to a variable class. Syntax: clanbs(<Class/ num_exp>,symb_exp)… Read More »