University of Latvia, Institute of Mathematics and Computer Science