C and C++ library of functions and procedures for matrix (bidimensional arrays) – Comparison functions

The comparison functions used for matrix processing are needed for finding more information about a matrix or group of matrices from the point of view of: the matrix type, its elements type or the apparition number of a key in the matrix.

The function symmet checks if a matrix is a square or a symmetrical one. It gets as entry parameters the matrix’ lines and columns numbers, which are n and m, and the matrix X. The matrix is defined static. The function returns the address of an integer variable, *er, where it writes 1 if the matrix is symmetrical or 0 if the matrix isn’t symmetrical. Also it verifies if the matrix is a square one and it writes 0 at the integer variable’ address if the condition isn’t fulfilled.
Read the rest of this entry »

,

No Comments

How to: Implement Interfaces in VB.NET

Implementing an interface in VB.NET is done by specification Implements. Interfaces can be implemented by classes [...] and structures [...]. A class or structure can implement one or more interfaces, separated by the operator , in VB.NET.
List of interfaces implemented by class/structure is given by their associated names at defining time [...].
Read the rest of this entry »

, , , ,

No Comments

How to: Define Interfaces in VB.NET

The interface is a set of definitions of properties, methods and events. Unlike classes [...], interfaces do not contain the implementation. Interfaces are implemented [...] by classes, but are defined as separate entities.
A class that implement an interface must implement all elements defined in that interface.
Read the rest of this entry »

, , , ,

No Comments

Librarie de functii si proceduri pentru lucru cu matrici (masive bidimensionale) in limbajul C si C++ – Functii de comparare

Functiile de comparare a matricelor sunt folosite cu scopul de afla informatii despre o matrice sau un set de matrice din punctul de vedere al tipului unei matrice, a tipului elementelor ce o compun sau a numarului de aparitii in cadrul acelei matrice al unei chei definite de utilizator.

Read the rest of this entry »

,

No Comments

C and C++ library of functions and procedures for matrix (bidimensional arrays) – Mathematical functions

Other posts on this topic:

The mathematical functions uses the matrices as operands in different math operations. The operations with matrices described in this chapter are adding, multiplying, transposing, subtracting and inverting. Also here are some arithmetical operations with linear matrices like adding, subtracting, multiplying and transposing. For example, two linear matrices sum is obtained after transforming the matrices in one-dimensional arrays and adding them. In the same way are done the others operations.

In this post are described the functions that are doing those computations. Both variants of defining a matrix, the static method and the dynamic one, are used. Read the rest of this entry »

,

No Comments

How to: Transmit the Message Assigned to an Event Defined in VB.NET

Appearance of an event and transmission of its message is accomplished by specification RaiseEvent.
Specification RaiseEvent is used only for events declared explicitly.
Use RaiseEvent specification is exemplified in the following source code sequence developed in VB.NET:
Read the rest of this entry »

, , , ,

No Comments

How to: Define Events in Classes Built in VB.NET

Declaring events in a class built in VB.NET is done using Event specification. Defining event involves assigning the name and arguments providing.
Because an event is included in a class, the objects defined on that class may send messages related to event – raise. Transmission is accomplished by specification RaiseEvent. Assigning the event to procedure for event handling is done by specifications Handles or AddHandler [...].
Read the rest of this entry »

, , , ,

No Comments

How to: Define Delegates in VB.NET

The delegate is a pointer that allows the call of a function indirectly through its memory address. The delegate is used to call methods of other objects. It is similar to the function pointer used in other programming languages. The difference is that the delegate is a reference type on System.Delegate class.
Read the rest of this entry »

, , , , ,

No Comments

How to: Identify Characteristics of Events in VB.NET

The event is a message sent by an object and announces the application of production a fact.
Events are implemented using delegates [...].
For example, clicking a command button in a graphical interface causes the appearance of the event Click. The event is treated by a procedure.
Read the rest of this entry »

, , , ,

No Comments

How to: Define a Class in VB.NET

Class is an abstract representation of an entity. The object is a concrete manifestation of a class. The object is the structure that contains data and methods of handling data. An object contains data through fields and properties:
Read the rest of this entry »

, , , , , ,

1 Comment