# Scala tips

Scala Option and Some The absence of a value during rurtime should be somehow handled otherwise the will be a runtime error. The absent value is a null value. If […]

# Curves

Note: by , we indicate an Euclidean geometrical space, i.e. space of (geometric) points with an origin and equipped with a normed vector space. 1- Parametrized smooth curves Definition: a […]

# Inquiring into a triangular mesh

All codes are written in Python and based on 3D plotting and mesh analysis library PyVista. Cells connected to a node To speed up finding the cells connected to a […]

# Python common tips

Modules Note that from myModule import * shouldn’t be used. If done, all the global variables defined in myModule will appear in the current namespace. Modulus should not pollute each […]

# Bayesian inference: Introduction

On the notations Consider the following function defined as: The set is the domain of the function and is the argument of it. The set is the parameter space and […]

# SSM Using Scalismo (5): Creating a point distribution model

Finally, I arrive at statistical shape models. I am going to create a point distribution model (PDM) of shapes. Reading some theory on the point distribution models, I need superimposed […]

# Point Distribution Models of Shapes and Forms

A point distribution model (PDM) is a model that locates (or determines the geometrical (spatial) distribution of) the points of the shapes or forms (size-and-shapes) in a particular shape or […]

# Linear Algebra Cheat Sheet (1)

0- Notations and convention A variable/quantity/element can be scalar, vector, or a matrix; its type should be understood from the context if not explicitly declared. 0-1- A vector is considered […]

# Rank of a Matrix

Let (the results also holds for ). Then, the column rank/row rank of A is defined as the dimension of the column/row space of A, i.e. the dimension of the […]