This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class MeshDestroy : MonoBehaviour | |
| { | |
| private bool edgeSet = false; | |
| private Vector3 edgeVertex = Vector3.zero; | |
| private Vector2 edgeUV = Vector2.zero; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Python implementation of algorithms described in | |
| # "Scalings of Matrices Satisfying Line-Product Constraints and Generalizations" (1992) | |
| # Paper by Uriel G. Rothblum, code by @tjbanks and Tung Nguyen | |
| # https://core.ac.uk/download/pdf/82705928.pdf | |
| # Implement 2D matrix completion with input as U,V, A_prime and output as A_exp | |
| import numpy as np | |
| def completion(U = None,V = None,A_prime = None): | |
| # Situate unknown entries as 1. |