Fortran – Inquiry Functions
In this guide, we will discuss Fortran Inquiry Functions. The following table describes the inquiry functions − Sr.NoFunction & Description1allocated(array)It is a logical function which indicates if the array is…
In this guide, we will discuss Fortran Inquiry Functions. The following table describes the inquiry functions − Sr.NoFunction & Description1allocated(array)It is a logical function which indicates if the array is…
In this guide, we will discuss Fortran Reduction Functions. The following table describes the reduction functions: FunctionDescriptionall(mask, dim)It returns a logical value that indicates whether all relations in mask are…
In this guide, we will discuss Fortran vector and matrix multiplication functions. The following table describes the vector and matrix multiplication functions: FunctionDescriptiondot_product(vector_a, vector_b)This function returns a scalar product of…
In this guide, we will discuss Fortran Arrays. Arrays can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of…
Xstream Package aliasing is used to create an alias of a fully qualified name of a class in XML to a new qualified name. Let us modify our example again…
In this guide, we will discuss Fortran Strings. The Fortran language can treat characters as single character or contiguous strings. A character string may be only one character in length,…
Xstream Attribute aliasing is used to serialize a member variable as an XML attribute. Let us modify our example again and add the following code to it. xstream.useAttributeFor(Student.class, "studentName"); xstream.aliasField("name",…
XStream Implicit Collections Aliasing is used when a collection is to be represented in XML without displaying the roots. For example, in our case, we need to display each note…
Xstream Field aliasing is used to create an alias of a field in XML. Let us modify our example again and add the following code to it. xstream.aliasField("studentName", Student.class, "name");…
Xstream Class aliasing is used to create an alias of a fully qualified name of a class in XML. Let us modify our original example and add the following code…