Serializable adaptive matrix